package com.example.invalidatetest;


public class LineGenerator {
	
	
	public static synchronized float[] generator(int[][] coords){
		
		float product[] = new float[coords.length*2];
		int x_offset = OffsetConstant.offset_x;
		int y_offset = OffsetConstant.offset_y;
		
		for(int i = 0; i<coords.length;i++){
			
			
			product[2*i] = (coords[i][0]-x_offset);
			product[(2*i)+1] = (-(coords[i][1]-y_offset));
			
			
			}
		
		return product;
		
	}

}
